<?php

namespace app\components\oauth2\packs;

class ResourceServerPack
{
    public $server;

    public static function __make($server)
    {
        return (new self())->setServer($server);
    }

    public function setServer($server)
    {
        $this->server = $server;
        return $this;
    }

    public function __toString()
    {
        return $this->server;
    }
}
